package edu.zut.cs.network.exercise.practice.object;


public class Candidate {

	String name;
	Vote vote;
	
//	总共参选人数
	int numberofCandidates;
	
	public Candidate() {
		this.name = null;
		this.numberofCandidates = 0;
	}

	public Candidate(String name, Vote vote) {

		this.name = name;
		this.vote = vote;
	}

	public String getName() {
		return name;
	}

	public Vote getVote() {
		return vote;
	}

	public int getNumberofCandidates() {
		return numberofCandidates;
	}
	
	
}
